package com.xuecheng.api.system;

import com.xuecheng.system.entity.DictionaryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <p></p>
 *
 * @Description:
 */
@Api(tags = "系统管理服务api接口")
public interface DictionaryApi {

    @ApiOperation("查询所有数据字典")
    List<DictionaryDTO> queryAll();


    @ApiOperation("根据code查询数据字典")
    @ApiImplicitParam(name = "code",value = "数据字段的code值",required = true,paramType = "path",dataType = "String")
    DictionaryDTO getByCode(String code);

}
